#!/bin/bash

#!/bin/bash
set -e

# 文件名列表
file_list=(
checkpoint-100.jsonl
checkpoint-200.jsonl
checkpoint-300.jsonl
checkpoint-400.jsonl
checkpoint-500.jsonl
checkpoint-600.jsonl
checkpoint-700.jsonl
checkpoint-800.jsonl
checkpoint-900.jsonl
checkpoint-1000.jsonl
checkpoint-1100.jsonl
checkpoint-1200.jsonl
checkpoint-1300.jsonl
checkpoint-1400.jsonl
checkpoint-1500.jsonl
checkpoint-1600.jsonl
checkpoint-1700.jsonl
checkpoint-1800.jsonl
checkpoint-1900.jsonl
checkpoint-2000.jsonl
checkpoint-2100.jsonl
checkpoint-2160.jsonl
full_checkpoint-300.jsonl
full_checkpoint-600.jsonl
full_checkpoint-900.jsonl
full_checkpoint-1200.jsonl
full_checkpoint-1285.jsonl
full_last.jsonl
)


for file_name in "${file_list[@]}"
do
    echo "Evaluating $file_name"
    python eval_med_pub.py \
        --result_json_path "./experiments/med_pub_out/${file_name}" \
        --wrong_case_path "./experiments/eval_med_pub/${file_name}"
done
